package com.example.deviceinfo.data.model

import com.google.gson.annotations.SerializedName

/**
 * 设备信息
 */
data class DeviceInfo(
    val id: String,
    val brand: String,
    val model: String,
    val os: String,
    // 接口返回: "os_version":"10.4.9","mac_address":"86:e6:fc:cf:2e:7b"
    // 需要做字段转换
    @SerializedName("os_version")
    val osVersion: String,
    @SerializedName("mac_address")
    val macAddress: String,
    val cpu: String,
    val ram: String,
    val storage: String,
    val screenSize: String,
    val resolution: String,
    val battery: Int,
    val createdAt: String
)